package day10_io_code.com.itheima.d6_object;


import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;

public class Demo1_ObjectInputStream {
    public static void main(String[] args) throws IOException, ClassNotFoundException {
        ObjectInputStream ois = new ObjectInputStream(new FileInputStream(""));
        Student s = (Student) ois.readObject();
        System.out.println("s = " + s);

        ois.close();
    }
}
